import request from '@/utils/request'

// 查询出入库结果明细列表
export function listMdIoDet(query) {
  return request({
    url: '/storage/mdIoDet/list',
    method: 'get',
    params: query
  })
}

// 查询出入库结果明细详细
export function getMdIoDet(detId) {
  return request({
    url: '/storage/mdIoDet/' + detId,
    method: 'get'
  })
}

// 新增出入库结果明细
export function addMdIoDet(data) {
  return request({
    url: '/storage/mdIoDet',
    method: 'post',
    data: data
  })
}

// 修改出入库结果明细
export function updateMdIoDet(data) {
  return request({
    url: '/storage/mdIoDet',
    method: 'put',
    data: data
  })
}

// 删除出入库结果明细
export function delMdIoDet(detId) {
  return request({
    url: '/storage/mdIoDet/' + detId,
    method: 'delete'
  })
}
